package org.micro.test.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Select;
import org.micro.test.entity.UseCase;
import org.micro.test.common.SuperMapper;

import java.util.List;

public interface UseCaseMapper extends SuperMapper<UseCase> {
    @Select("SELECT * FROM use_case")
    List<UseCase> selectByPage(Pagination page);//Pagination 为Mybatis plus分页插件的实体
}
